package com.simplesoftwares.client.library.libservice;

import java.util.ArrayList;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.simplesoftwares.client.library.ReturnFromServer;
import com.simplesoftwares.client.library.appstructure.SuperModel;
import com.simplesoftwares.client.library.appstructure.search.MyQuerry;
import com.slicktechnologies.shared.Contract;

@RemoteServiceRelativePath("../genricservice")
public interface GenricService extends RemoteService {
	
	public ReturnFromServer save(SuperModel m);
	public ArrayList<ReturnFromServer> save(ArrayList<SuperModel> m);
	public void update(SuperModel m);
	public void delete(SuperModel m);
	public void print (Long id);
	public void download(ArrayList<SuperModel>m);
	public void email(Long id);
 
	ArrayList<SuperModel> getSearchResult(MyQuerry quer);
	int getCount(SuperModel m);
	void putInMemCache(SuperModel model);
	
	

}
